package com.ivc.info.dto.base;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.cs.framework.common.annotation.NotNull;
import com.cs.framework.common.bo.BoBase;

/**
 * 供应商信息
 * 
 * @author hedongzhou
 * 
 */
@Entity
@Table(name = "supplier")
public class SupplierDto extends BoBase {

	private static final long serialVersionUID = 2532363470070585819L;

	/**
	 * 供应商编号
	 */
	@Id
	@Column(name = "supplier_no")
	@NotNull("供应商编号")
	private String supplierNo;

	/**
	 * 供应商名称
	 */
	@NotNull("供应商名称")
	private String name;

	/**
	 * 地址
	 */
	private String address;

	/**
	 * 联系人名称
	 */
	@Column(name = "contact_name")
	private String contactName;

	/**
	 * 联系人电话
	 */
	@Column(name = "contact_phone")
	private String contactPhone;

	public String getSupplierNo() {
		return supplierNo;
	}

	public void setSupplierNo(String supplierNo) {
		this.supplierNo = supplierNo;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getContactName() {
		return contactName;
	}

	public void setContactName(String contactName) {
		this.contactName = contactName;
	}

	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

}
